/*
 *  Copyright 2023 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import '../../../styles/variables.less';

/* Reaction CSS Start */
.ant-btn-add-reactions:hover,
.ant-btn-add-reactions:focus {
  color: @primary-color;
  border-color: @primary-color;
}

.ant-btn-reaction.ant-btn-sm {
  padding: 4px 6px;
}

.ant-popover-feed-reactions {
  .ant-popover-inner-content {
    padding: 4px;
    display: flex;
    gap: 8px;
  }
  .ant-btn-reaction {
    background: transparent;
    border: 1px solid #75757533;
    padding: 4px 6px;
  }
  .ant-btn-reaction,
  .ant-btn-popover-reaction {
    height: auto;
    padding: 0px 4px;
    font-size: 16px;
    background-color: transparent;
  }

  .ant-btn-popover-reaction:hover,
  .ant-btn-popover-isReacted,
  .ant-btn-popover-isReacted:hover {
    background-color: @primary-1;
  }

  .ant-btn-reaction:hover {
    color: @primary-color;
    background-color: transparent;
    border-color: @primary-color;
  }
}

.ant-btn.ant-btn-reaction.ant-btn-isReacted {
  color: @primary-color;
  border-color: @primary-color;
  background-color: transparent;
  padding: 4px 6px;
  &:hover {
    background-color: transparent;
  }
}
.ant-btn-round.ant-btn-sm {
  background-color: transparent;
  padding: 4px 6px !important;
  &:hover {
    background-color: transparent;
  }
}
